//菜单在这里配置,配好菜单,再把代码放到对应的文件夹下就好了
export function info() {
  console.log('已配置')
  return {
    router: {
      "data": [{
        "name": "System",
        "path": "/system",
        "hidden": false,
        "redirect": "noRedirect",
        "component": "Layout",
        "alwaysShow": true,
        "meta": {"title": "系统管理", "icon": "system", "noCache": false, "link": null},
        "children": [{
          "name": "User",
          "path": "user",
          "hidden": false,
          "component": "system/user/index",
          "meta": {"title": "用户管理", "icon": "user", "noCache": false, "link": null}
        }, {
          "name": "Channel",
          "path": "channel",
          "hidden": false,
          "component": "system/channel/index",
          "meta": {"title": "频道管理", "icon": "user", "noCache": false, "link": null}
        }]
      },
        {
          "name": "Tool",
          "path": "/tool",
          "hidden": false,
          "redirect": "noRedirect",
          "component": "Layout",
          "alwaysShow": true,
          "meta": {"title": "工具管理", "icon": "system", "noCache": false, "link": null},
          "children": [{
            "name": "Build",
            "path": "build",
            "hidden": false,
            "component": "tool/build/index",
            "meta": {"title": "页面组建", "icon": "user", "noCache": false, "link": null}
          }]
        },
        {
          "name": "Http://ruoyi.vip",
          "path": "http://ruoyi.vip",
          "hidden": false,
          "component": "Layout",
          "meta": {"title": "若依官网", "icon": "guide", "noCache": false, "link": "http://ruoyi.vip"}
        }]
    },
    userInfo: {
      "permissions": ["*:*:*"], "roles": ["admin"], "user": {
        "userName": "admin",
        "avatar": "",
        "roles": [{
          "searchValue": null,
          "createBy": null,
          "createTime": null,
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "params": {},
          "roleId": 1,
          "roleName": "超级管理员",
          "roleKey": "admin",
          "roleSort": "1",
          "dataScope": "1",
          "menuCheckStrictly": false,
          "deptCheckStrictly": false,
          "status": "0",
          "delFlag": null,
          "flag": false,
          "menuIds": null,
          "deptIds": null,
          "admin": true
        }],
        "roleIds": null,
        "postIds": null,
        "roleId": null,
        "admin": true
      }
    }
  }
}



